namespace Matrix.ServiceDiscovery.Enums
{
    /// <summary>
    /// 健康状态枚举
    /// </summary>
    public enum HealthStatus
    {
        /// <summary>
        /// 未指定状态
        /// </summary>
        None = 0,

        /// <summary>
        /// 健康
        /// </summary>
        Healthy = 1,

        /// <summary>
        /// 不健康
        /// </summary>
        Unhealthy = 2,

        /// <summary>
        /// 降级
        /// </summary>
        Degraded = 3,

        /// <summary>
        /// 检查中
        /// </summary>
        Checking = 4,

        /// <summary>
        /// 未知状态
        /// </summary>
        Unknown = 5,

        /// <summary>
        /// 超时
        /// </summary>
        Timeout = 6,

        /// <summary>
        /// 连接失败
        /// </summary>
        ConnectionFailed = 7,

        /// <summary>
        /// 离线状态
        /// </summary>
        Offline = 8
    }
}